<%if session['hide_table'].size>0%>
  <%remote_form_for :table,:url=>{:action=>'show_table'} do |f|%>
    <%=f.collection_select :id,session["hide_table"],:id,:name%>
    <%= f.submit '显示',:class=>'submit'%>
  <%end%>
<%end%>